﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="J_MostProduct.ascx.cs"
    Inherits="Pub_Module_J_MostProduct" %>
<link rel="stylesheet" type="text/css" href="Pub/Css/JQ/skin.css" />

<script language="javascript" type="text/javascript" src="Pub/Js/JQ/jquery.jcarousel.min.js"></script>

<script language="javascript" type="text/javascript">

$(document).ready(function() {    

                     $.ajax({  
                               type: "GET", 
                               url: "Pub/Ajax/AjaxQuery.aspx?type=GetSaleOfProduct", 
                               success: function(resp)
                               { 
                                       $(".div_skin-tango") .show();
                                      $("#<%= divData.ClientID%>").html(resp);  
                                      fnGetMostProduct();
                               } 
                        });        
  });            
</script>

<script type="text/javascript">

function fnGetMostProduct()
{
  
       jQuery('#mycarousel').jcarousel({
    	wrap: 'circular'
    });

}
</script>

<div class="div_skin-tango" style="display:none">
    <ul class="fixUlBlock">
        <li style="text-align: center; padding:5px">
            <asp:Label ID="Label1" runat="server" Text="SẢN PHẨM KHUYẾN MÃI" CssClass="lblTitleProduct"></asp:Label>
        </li>
        <li>
            <asp:Panel ID="divData" runat="server" CssClass="divBlock" Style="text-align: right;">
            </asp:Panel>
        </li>
    </ul>
</div>
